package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 号码仓对象 rx_supplier
 *
 * @author hjf
 * @date 2025-02-18
 */
public class RxSupplier extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 分类名称
     */
    @Excel(name = "分类名称")
    private String title;

    /**
     * 序号
     */
    @Excel(name = "序号")
    private Long sort;

    /**
     * 创建时间
     */
    @Excel(name = "创建时间")
    private Long time;

    /**
     * 联系电话
     */
    @Excel(name = "联系电话")
    private String tel;

    /**
     * 备注说明
     */
    @Excel(name = "备注说明")
    private String content;

    /**
     * 是否保护仓号码:1否2是
     */
    @Excel(name = "是否保护仓号码:1否2是")
    private Integer isProtective;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle() {
        return title;
    }

    public void setSort(Long sort) {
        this.sort = sort;
    }

    public Long getSort() {
        return sort;
    }

    public void setTime(Long time) {
        this.time = time;
    }

    public Long getTime() {
        return time;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getTel() {
        return tel;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContent() {
        return content;
    }

    public void setIsProtective(Integer isProtective) {
        this.isProtective = isProtective;
    }

    public Integer getIsProtective() {
        return isProtective;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("title", getTitle())
                .append("sort", getSort())
                .append("time", getTime())
                .append("tel", getTel())
                .append("content", getContent())
                .append("isProtective", getIsProtective())
                .toString();
    }
}
